package com.platform.modules.cpt.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.modules.cpt.entity.CptAcceptanceConclusionEntity;
import com.platform.modules.cpt.entity.CptAcceptanceEntity;


public interface CptAcceptanceConclusionService extends IService<CptAcceptanceConclusionEntity> {

	CptAcceptanceConclusionEntity queryOne(Map<String, Object> params);

	/**
	 * 生成 竣工验收情况(后续盖章)
	 * @param execution
	 */
	Map<String, Object> createBxjgysqk1File(CptAcceptanceEntity cptAcceptanceEntity, String newFileName);

	/**
	 * 下载 竣工验收情况 文件流
	 * @param execution
	 */
	void downloadBxjgysqkFile(String cptId, HttpServletRequest request, HttpServletResponse response, String attCode);
	
	/**
	 * 盖章-竣工验收情况 文件
	 * @param request
	 * @param cptId
	 */
	void signBxjgysqkFile(HttpServletRequest request, String cptId, String attCode, String FileName);
	
	/**
	 * 下载 竣工验收情况 文件
	 * @param execution
	 */
	void downloadSignBxjgysqkFile(String cptId, HttpServletRequest request, HttpServletResponse response, String attCode);
}
